-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cleanup(core): move a few api points to return root maps directly #22949
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 1 Ignored Deployment
|
☁️ Nx Cloud ReportCI is running/has finished running commands for commit c648e91. As they complete they will appear below. Click to see the status, the terminal output, and the build insights. 📂 See all runs for this CI Pipeline Execution ✅ Successfully ran 6 targets
Sent with 💌 from NxCloud. |
de51a22
to
5aa9f39
Compare
packages/nx/src/project-graph/utils/project-configuration-utils.ts
Outdated
Show resolved
Hide resolved
// | ||
// The signature itself can't be changed as we need it to return | ||
// project configurations for use in devkit. | ||
readProjectConfigurationsFromRootMap(projectRootMap); |
This comment was marked as resolved.
This comment was marked as resolved.
Sorry, something went wrong.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We still use the function in 2-3 other places to read the configs, so I don't think we'd change it
packages/nx/src/project-graph/utils/project-configuration-utils.ts
Outdated
Show resolved
Hide resolved
1498060
to
244973d
Compare
58c8668
to
909fd23
Compare
909fd23
to
c648e91
Compare
(cherry picked from commit 355d5c5)
This pull request has already been merged/closed. If you experience issues related to these changes, please open a new issue referencing this pull request. |
Current Behavior
retrieveProjectConfigurations returns a Record<name, config>
Expected Behavior
retrieveProjectConfigurations returns a Record<root, config>
Related Issue(s)
Fixes #